package cn.learn.designpattern.strategy;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 价格区间的注解，让
 * @author huangyezhan
 * @date 2018/11/20-23:13
 */
@Target(ElementType.TYPE)           //作用在类上
@Retention(RetentionPolicy.RUNTIME) //运行时有效
public @interface PriceRegion {
    int max() default Integer.MAX_VALUE;
    int min() default Integer.MIN_VALUE;
}
